package cn.nawang.ebeim.api.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @ClassName: StorageCloud
 * @Description: TODO
 * @author fanyb
 * @date Aug 18, 2015 8:56:22 AM
 * @version v1.0
 */
@Entity
@Table(name = "storage_cloud", catalog = "ebeim")
public class StorageCloud {
  private String id;
  private String name;
  private Long spaceCapacity;
  private Double spaceUsage;
  
  @Id
  @Column(name = "id", unique = true, nullable = false, length = 45)
  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  @Column(name = "name")
  public String getName() {
    return name;
  }
  
  public void setName(String name) {
    this.name = name;
  }
  
  @Column(name = "space_capacity")
  public Long getSpaceCapacity() {
    return spaceCapacity;
  }
  
  public void setSpaceCapacity(Long spaceCapacity) {
    this.spaceCapacity = spaceCapacity;
  }
  
  @Column(name = "space_usage")
  public Double getSpaceUsage() {
    return spaceUsage;
  }
  
  public void setSpaceUsage(Double spaceUsage) {
    this.spaceUsage = spaceUsage;
  }
  
}
